Encounter
@Serializable
Encounter details for a Pokémon in a specific location area. See: https://pokeapi.co/docs/v2#encounter
Parameters
min Level
The lowest level the Pokémon could be encountered at.
max Level
The highest level the Pokémon could be encountered at.
condition Values
A list of condition values affecting this encounter.
chance
The chance of the encounter.
method
The method by which the encounter happens.
Constructors
Link copied to clipboard
constructor(minLevel: Int, maxLevel: Int, conditionValues: List<Handle.Named<EncounterConditionValue>>, chance: Int, method: Handle.Named<EncounterMethod>)